package com.hoo.mapper.order;

import java.util.List;
import com.hoo.entity.order.TicketOrder;
import com.hoo.form.order.TicketOrderForm;
import com.hoo.mapper.account.SqlMapper;

public interface OrderMapper extends SqlMapper {

	public List<TicketOrder> getAllTicketOrder();
	
	public TicketOrder getTicketOrderById(int id);
	
	public int insertTicketOrder(TicketOrder ticketOrder);
	
	public int updateTicketOrder(TicketOrder ticketOrder);

	public TicketOrder getTicketOrderBySchedle(String scheduleNum);

	public int getTicketOrdersCount(TicketOrderForm form);

	public List<TicketOrder> getTicketOrdersList(TicketOrderForm form);

	public int getTicketOrdersInfoCount(TicketOrderForm form);

	public List<TicketOrder> getTicketOrdersInfoList(TicketOrderForm form);
}
